<!--
Copyright 2017 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<md-dialog aria-label="[[Edit a {{::$ctrl.resourceKindName}}|Title for a delete resource dialog.]]"
           layout="column"
           class="kd-edit-dialog">
  <md-dialog-content layout-padding
                     class="kd-json-edit-dialog-content">
    <h4 class="md-title">[[Edit a {{::$ctrl.resourceKindName}}|Title for a delete resource dialog.]]</h4>
    <kd-text-input input-data="$ctrl.data"
                   class="kd-edit-dialog-text-input">
    </kd-text-input>
    <md-dialog-actions>
      <md-button class="md-primary kd-cancel-btn"
                 ng-click="$ctrl.cancel()">
        [[Cancel|Label for cancel button.]]
      </md-button>
      <md-button class="md-primary kd-copy-btn"
                 ng-click="$ctrl.copy()">
        [[Copy|Label for copy button.]]
      </md-button>
      <md-button class="md-primary kd-delete-btn"
                 ng-click="$ctrl.update()">
        [[Update|Label for update button.]]
      </md-button>
    </md-dialog-actions>
  </md-dialog-content>
</md-dialog>
